GetFInfo is an XFCN returning a list of Finder informations for a file.
SYNTAX
GetFileInfo <file path or name>[,"DontResolveAlias"]
PARAMETERS
<file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
"dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
USING
The returned list contains the following 23 items :
1) type
2) creator
3) creation date (short format)
4) creation time
5) modification date (short format)
6) modification time
7) total size in bytes
8) data fork size in bytes
9) resource fork size in bytes
then 16 booleans values corresponding to the file flags (depending on System version):
-------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: